<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Build Force Tomcat Maven Plugin - Management</title>
    <style type="text/css" media="all">
      @import url("../css/maven-base.css");
      @import url("../css/maven-theme.css");
      @import url("../css/site.css");
    </style>
    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
          <meta name="author" content="Martin Todorov
carlspring@gmail.com" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            Build Force Tomcat Maven Plugin
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2009-11-22
                      </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Overview</h5>
            <ul>
              
    <li class="none">
                    <a href="../index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="../usage.html">Usage</a>
          </li>
              
    <li class="none">
                    <a href="../apidocs/index.html">Javadoc</a>
          </li>
              
    <li class="none">
                    <a href="../faq.html">FAQ</a>
          </li>
          </ul>
              <h5>Goals</h5>
            <ul>
              
    <li class="none">
                    <a href="../plugin-info.html">Overview of Goals</a>
          </li>
              
    <li class="none">
              <strong>Management Goals</strong>
        </li>
              
    <li class="none">
                    <a href="../examples/deployment.html">Deployment Goals</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="../project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="../project-reports.html">Project Reports</a>
                </li>
          </ul>
                                                 
                        
                        
            <a href="../../../" title="Google Code" class="poweredBy">
                            <img alt="Google Code" src="../images/code_logo.png" />
            </a>
                                
                        
                        
            <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
                            <img alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
            </a>
                               
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2>Management</h2>
<ul><li><a href="#Start Tomcat">Start Tomcat</a></li>
<li><a href="#Stop Tomcat">Stop Tomcat</a></li>
<li><a href="#Restart Tomcat">Restart Tomcat</a></li>
<li><a href="#Clean Tomcat (webapps excluded)">Clean Tomcat (webapps excluded)</a></li>
</ul>
<div class="section"><h3><a name="Start_Tomcat">Start Tomcat</a></h3>
<p>To start Tomcat execute:</p>
<div class="source"><pre>mvn tomcat:start</pre>
</div>
</div>
<div class="section"><h3><a name="Stop_Tomcat">Stop Tomcat</a></h3>
<p>To stop Tomcat execute:</p>
<div class="source"><pre>mvn tomcat:stop</pre>
</div>
</div>
<div class="section"><h3><a name="Restart_Tomcat">Restart Tomcat</a></h3>
<p>To restart Tomcat execute:</p>
<div class="source"><pre>mvn tomcat:restart</pre>
</div>
</div>
<div class="section"><h3><a name="Clean_Tomcat_excluding_the_webapps">Clean Tomcat (excluding the webapps)</a></h3>
<p>To clean Tomcat without removing the webapps, execute:</p>
<div class="source"><pre>mvn tomcat:clean</pre>
</div>
</div>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2009
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
